package com.be.beadmin.product.entity;

import com.be.beadmin.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 工时详单
 * @author: Jiaming Zheng
 * @Date: Create in 20:38 2023/4/23
 * @Modified By:
 **/
@Entity
@Table(name="T_OP_WrokingHoursDetails")
@Getter
@Setter
public class WrokingHoursDetails extends BaseEntity {

    @Column(name = "ProcessId",columnDefinition = "VARCHAR(50) COMMENT '工序ID'")
    private String processId;

    @Column(
            name = "Operator_ID",

            columnDefinition = "VARCHAR(32) COMMENT '操作人' "
    )
    protected String operatorId;


    @Column(name = "CurrWorkHours",columnDefinition = "Float COMMENT '本次累计工时'")
    private Float  currWorkHours ;

    @Column(name = "CurrDay",columnDefinition = "datetime COMMENT '本次计时开始时间' ")
    private Date currDay;

    @Column(name = "CurrStartTime",columnDefinition = "datetime COMMENT '本次计时开始时间' ")
    private Date currStartTime;

    @Column(name = "CurrEndTime",columnDefinition = "datetime COMMENT '本次记录日期' ")
    private Date currEndTime;

}
